<template>
	<div class="detail">
		<h3>{{detailObj.title}}</h3>
		<p>发布时间：{{detailObj.applicationDate}}</p>
		<div v-html="detailObj.content"></div>
	</div>
</template>

<script>
	export default {
		data(){
			return{
				detailObj:{}
			}
		},
		mounted(){
			let detail_id = this.$route.query.id;
			console.log(detail_id)
			let form = new FormData();
			form.append('id',detail_id)
			this.$http.post('/news/notify/mobile_notify_one',form).then(res=>{
				console.log(res)
				this.detailObj = res.data;
			})
		}
	}
</script>

<style scoped lang="less">
	.detail{
		padding: 5px 12px 20px;
		box-sizing: border-box;
		h3{
			font-size: 18px;
			text-align: center;
		}
		p{
			text-align: center;
			color:#888;
		}
	}
</style>